package com.chushouya.order.service.admin;


import com.chushouya.order.constants.KefuOrderActionEnum;
import com.chushouya.order.dao.entity.OrderEntity;
import com.chushouya.order.dto.admin.action.OrderAction;

import java.util.List;

/**
 * 业务员订单操作业务
 */
public interface KefuOrderActionCtrlService {

    /**
     * 订单操作业务
     */
    List<OrderAction> orderActions(Long orderId);

    /**
     * 订单操作许可验证
     * @param orderAction 操作
     * @param orderEntity 订单
     */

    void actionExecuteCheck(KefuOrderActionEnum orderAction, OrderEntity orderEntity);

}
